home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4077 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  838 b 

  1. Path: news.u.washington.edu!gah
  2. From: gah@u.washington.edu (G. Herrmannsfeldt)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: quick decision: is n a power of 2?
  5. Date: 1 Feb 1996 19:46:06 GMT
  6. Organization: University of Washington
  7. Message-ID: <4er59u$1tc@nntp5.u.washington.edu>
  8. References: <Pine.OSF.3.91.960119114608.18779E-100000@io.UWinnipeg.ca> <TANMOY.96Jan21104404@qcd.lanl.gov> <4e6rs0$dvl@ns.RezoNet.NET> <9601251245.AA12220@dxmint.cern.ch> <822791542snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: saul2.u.washington.edu
  10. NNTP-Posting-User: gah
  11.  
  12. Are there any ones-complement machines (I think CDC used to make them),
  13. with C compilers that generate the two's complement for -u on an unsigned int?
  14.  
  15. I suppose it makes a little sense, but are there really any?
  16.  
  17.  
  18. And, for that matter, what about BCD machines?  Maybe they are rare, too.
  19.  
  20. -- glen
  21.